home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
c_wndw.arc
/
COMPLINK.QUI
< prev
next >
Wrap
Text File
|
1990-01-28
|
768b
|
21 lines
REM parameter is program name to be compiled, linked and run
REM format of entry is "COMPLINK PROGRAM"
REM Note that the ".c" suffix is omitted
if NOT EXIST \qc\marietta\%1.c GOTO END
copy \qc\marietta\%1.c program.c
bin\qcl /c /Iinclude /W2 /AS program.c
if EXIST lib\slibce.lib GOTO LINK1
if EXIST lib\slibc7.lib GOTO LINK2
bin\link program, , NUL, lib\c_wndw+lib\SLIBC+lib\LIBH /NOI /NOD /ST:10000
GOTO RUN1
:LINK1
bin\link program, , NUL, lib\c_wndw+lib\SLIBCE /NOI /NOD /ST:10000
GOTO RUN1
:LINK2
bin\link program, , NUL, lib\c_wndw+lib\SLIBC7 /NOI /NOD /ST:10000
GOTO RUN1
:RUN1
PAUSE examine compile for errors, then press any key
program
:END